package com.pshcp.domain.vo;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pshcp.serializer.PhoneNoJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 患者用户表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PatientUser对象", description="患者用户表")
public class PatientUserVO implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    @JsonSerialize(using = PhoneNoJsonSerializer.class)
    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String headPhoto;

    @ApiModelProperty(value = "完整头像地址")
    private String fullHeadPhotoPath;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "0女1男")
    private Integer sex;

    @ApiModelProperty(value = "状态 0正常 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
